<style scoped>
  .tips {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    height: 64px;
    background-color: #1AAD19;
    font-size: 18px;
    line-height: 64px;
    color: #fff;
    text-align: center;
  }
  .slide-enter-active {
    animation: slide-down .5s;
  }
  .slide-leave-active {
    animation: slide-up .5s;
  }
  @keyframes slide-down {
    0% {
      transform: translateY(-100%)
    }
    100% {
      transform: translateY(0);
    }
  }
  @keyframes slide-up {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-100%);
    }
  }
</style>
<template>
    <div class="tips">{{tips}}</div>
</template>
<script>
  export default {
      props:['tips']
  }
</script>
